# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxrender
pkgver=0.9.11
pkgrel=4
pkgdesc="X Rendering Extension client library"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
subpackages="$pkgname-dev $pkgname-doc"
options="!check"  # No test suite.
makedepends="xorgproto libx11-dev util-macros"
source="https://www.x.org/releases/individual/lib/libXrender-$pkgver.tar.xz"
builddir="$srcdir"/libXrender-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
2327cc1b530382d81df29b8d579f801f1f990202107cc84506986bcf5d15010d414e9418987b200e3f222d188afce46f0d7754febcdca62a5fc1e541b3bb82de  libXrender-0.9.11.tar.xz
"
